//覆盖一些element-ui样式
@font-face {
  font-family: 'icomoon';
  src:  url('../assets/custom-theme/fonts/icomoon.eot?o86rcs');
  src:  url('../assets/custom-theme/fonts/icomoon.eot?o86rcs#iefix') format('embedded-opentype'),
  url('../assets/custom-theme/fonts/icomoon.ttf?o86rcs') format('truetype'),
  url('../assets/custom-theme/fonts/icomoon.woff?o86rcs') format('woff'),
  url('../assets/custom-theme/fonts/icomoon.svg?o86rcs#icomoon') format('svg');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'element';
  src: url('../assets/custom-theme/fonts/element-icons.woff?o86rcs') format("woff"),
  url('../assets/custom-theme/fonts/element-icons.ttf?o86rcs') format("truetype");
  font-weight: 400;
  font-style: normal;
}
[class*=" el-icon-"], [class^=el-icon-] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon','element' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@font-face {
  font-family:'TT0246M';
  src: url('../assets/custom-theme/fonts/TT0246M_.ttf');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family:'TT0247M';
  src: url('../assets/custom-theme/fonts/TT0247M_.ttf');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family:'HYYakuHei-45W';
  src: url('../assets/custom-theme/fonts/HYYakuHei-45W.ttf');
  font-weight: normal;
  font-style: normal;
}

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 5px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

//暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//文章页textarea修改样式
.article-textarea {
  textarea {
    padding-right: 40px;
    resize: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #bfcbd9;
  }
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

//dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

.el-tree-node__expand-icon.expanded {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
}
.el-icon-caret-right:before {
  content: "\e92f";
  font-size: 18px;
}
.el-tree-node__expand-icon.expanded.el-icon-caret-right:before {
  content: "\e930";
  font-size: 18px;
  color:#43c69a;
  // color:#26C6DA;
}
.el-tree-node__expand-icon {
  color:#4386c6;
}
.el-tree-node__expand-icon.is-leaf {
  color: rgba(82, 82, 82, 0.1);
}

// 虚线样式代码
.el-tree-node{
  position: relative;
  padding-left: 16px;
}
.el-tree-node__content {
  padding-left: 0px !important;
}
.el-tree-node .el-tree-node__children{
  padding-left: 16px;
  overflow: visible;
}
.el-tree-node :last-child:before {
  height: 38px;
}
.el-tree>.el-tree-node:before{
  border-left: none;
}
.el-tree>.el-tree-node:after{
  border-top: none;
}
.el-tree-node:before,.el-tree-node:after{
  content: "";
  left: -4px;
  position: absolute;
  right: auto;
  border-width: 1px;
}
.tree :first-child .el-tree-node:before{
  border-left: none;
}
.el-tree-node:before {
  border-left: 1px dashed #26C6DA;
  bottom: 0px;
  height: 100%;
  top: -21px;
  width: 1px;
}
.el-tree-node:after {
  border-top: 1px dashed #26C6DA;
  height: 20px;
  top: 12px;
  width: 24px;
}

//标准按钮自定义(绿色)
.el-button--primary {
  color: #fff;
  background-color:#409EFF;
  border-color: #25c6da;
}
.el-button--primary:hover {
  background: #25c6dab5;
  border-color: #25c6dab5;
  color: #fff;
}
.el-button--primary:focus{
  background:#25c6da;
  border-color:#25c6da;
  color:#fff
}
// from表单虚线框
.fieldset{
  border: 1px dashed silver;
  padding: 0px 0px 0px 10px;
  min-width: inherit;
}
.legend-font{
  font-size: 14px;
  color: #409eff;
}
.table-border{
  border: 1px dashed silver;
}

//dialog样式重写
.el-dialog__header{
  // padding: 20px 20px 10px;
  background-image: url("/static/image/res_reg_03.png");
  background-repeat: repeat-y;
  position: absolute;
  // height: 120px;
  width:100%;
  border-radius:0px !important;
}
.el-dialog__body {
  padding: 67px 20px;
  color: #606266;
  font-size: 14px;
  margin-top: 0px;
}
.dialogStyle .el-dialog__body{
  padding: 67px 20px 0 0 !important;
}
.el-dialog__title{
  line-height: 24px;
  font-size: 18px;
  color: #409EFF;
}
.e-dialog-border{
  border-top: 1px #409EFF dashed;
  padding-top: 3px;
}
.e-dialog-border .e-dialog-border-margin{
  margin-top: 22px;
}
//重写ei-input包裹 template 样式 
.el-input-group__append {
  background-color:transparent;
  padding: 0px;
  border: 1px solid transparent;
}

//全局tab样式
/*.el-tabs__item {
  padding: 0 20px;
  height: 40px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 40px;
  display: inline-block;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  color: #303133;
  position: relative;
  border-radius:0px !important;
}
.el-tabs__item.is-active {
  color: #FFF;
  background-color: #409EFF;
}*/

//全局div圆角
/*div{
  border-radius:4px;
}*/

//全局消息提示位置修改
.el-message {
  min-height: 70px;
  margin-top: 230px;
}
.el-input--suffix .el-input__inner{
  padding-right: 10px;
}

